package com.local.quartz.springquartz;

import org.joda.time.DateTime;
import org.springframework.stereotype.Component;

@Component("anotherBean")  
public class AnotherBean {
	DateTime dt = new DateTime();
	 public void printAnotherMessage(){  
	        System.out.println("当前时间:"+dt.toString("yyyyMMdd hh:mm:ss SSS"));
	    }  
}
